<html xmlns:th="http://www.thymeleaf.org">
<div class="bjui-row col-1" th:fragment="form">

                <label class="row-label">角色名称</label>
                <div class="row-input required">
             	   <input type="text" name="name" style="width:400px;"  th:value="${manageRoleForm.name}" data-rule="required">
                </div>
                <label class="row-label">菜单列表</label>

                <div class="row-input required" >
                    <div th:each="manageMenu,manageMenuStat : ${manageMenuList}">
                        <br/>
                        <B th:text="${manageMenu.name}"></B>
                        <br/>
                    <input type="checkbox" name="menuid"
                           th:each="entry,entryStat:${manageMenuMap[manageMenu.id]}"
                           th:value="${entry.id}" th:text="${entry.name}"
                           th:checked="${#strings.contains(manageMenuIds,';'+entry.id+';')}"/>
                    </div>
                </div>

                <label class="row-label">状态</label>
                <div class="row-input required">
                    <select name="state" data-toggle="selectpicker" data-rule="required" >
                         <option style="width:300px;height:100%" value="">请选择</option>
                        <option th:each="status,statusStat : ${statusList}"
                                th:value="${status.code}" th:text="${status.display}" th:selected="${status.code}==${manageRoleForm.state.code}" >
                        </option>
                    </select>
                </div>
                
            </div>

